home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CICA Windows Explosion!
/
The CICA Windows Explosion! - Disc 2.iso
/
nt
/
gr564s.zip
/
SRC
/
MS
/
README
< prev
next >
Wrap
Text File
|
1993-09-08
|
7KB
|
176 lines
MS RCS configuration
$Id$
Copyright 1991, 1992, 1993 by Paul Eggert
Distributed under license by the Free Software Foundation, Inc.
This file is part of RCS.
RCS is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published
by the Free Software Foundation; either version 2, or (at your
option) any later version.
RCS is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public
License along with RCS; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA
02139, USA.
Report problems and direct all questions to:
rcs-bugs@cs.purdue.edu
This is $Revision$ of the MS RCS support directory.
It contains extra files useful for getting RCS 5.6.4 (and later versions)
to run under the MS-DOS, OS/2 and Windows/NT operating systems.
This version has not been fully tested and it probably has problems.
If you get it to work, please send your fixes to rcs-bugs@cs.purdue.edu.
The diff subdirectory contains a version of GNU diff 2.2 modified for
use under MS-DOS, OS/2 and Windows/NT. Install GNU diff before tackling RCS.
Put this directory into the src\ms subdirectory of the RCS source tree,
so that this file becomes src\ms\README.
On a Posix or Unix host, run the following commands.
This has already been done in the distribution copy,
but you may need to repeat it if you change the source files.
make -fmakefile.mk clean
make -fmakefile.mk
On an MS-DOS, OS/2 or Windows/NT host, run the following commands:
make -fms\bor.mk -DBCC=0 # Turbo C 2.01
make -fms\bor.mk -DBCC=2 # Borland C++ 2.0
make -fms\bor.mk -DBCC=3 # Borland C++ 3.x
nmake -f ms\nmake.mk OS=dos # Microsoft C on DOS
nmake -f ms\nmake.mk OS=os2 # Microsoft C on OS/2
nmake -f ms\nmake.mk OS=nt # Microsoft C on Windows/NT
To test RCS after you've installed it, make `installtest';
if this fails, make `installdebug' for detailed info.
See also ..\README, particularly the note about text_work_stdio.
Some systems become painfully confused if the TZ environment variable
is not set. We normally force the user to have a TZ environment
variable. This can be controlled by the `TZ_must_be_set' flag found
in src\ms\conf.h. The format of the TZ environment variable:
TZ=zzz[+/-]d[d][lll]
zzz A three-character string representing the name of the current
time zone (PST, MST, EST, etc.). All three characters are
required.
[+/-]d[]d A required field containing an optionally signed number of
one or more digits. This number is the local time zone's
difference from GMT in hours. Positive numbers adjust
westward from GMT, negative numbers adjust eastward. For
example, 5=EST, +8=PST, and -1=continental Europe.
lll An optional three-character field representing the local
time zone daylight saving time. "PDT" represents Pacific
daylight saving time.
Remember, this software is distributed under the GNU General Public License,
which means that normally you must distribute sources whenever you distribute
executables; see COPYING.
Credits:
Frank Whaley of Autodesk ported RCS to MS-DOS, OS/2 and Windows/NT.
Rich Braun of Kronos contributed Novell support.
Kai Uwe Rommel of the Technical University of Munich contributed many fixes.
Paul Eggert of Twin Sun integrated.
KNOWN PROBLEMS
If you specify a filename longer than the DOS limits, RCS uses the
long filename, but DOS silently truncates it. This can lead to
spurious differences e.g. in the filenames in Id strings, because
the filename you tell `rcsdiff' may differ from the name you told `co'.
By default, pathnames in $Header and $Source keyword expansions use /
to separate pathname components, because \ prevents these expansions
from being usefully placed into C strings. If you prefer \ anyway,
change the definition of SLASH in conf.h to '\\'.
Borland C++ 3.0 sometimes objects to tabs in preprocessor directives.
Expand them to spaces to work around the problem.
When a network drive is used for RCS and a file is checked in using ci
a sharing violation is reported by AT&T StarGroup because the work file
is still open when diff (which also opens the work file) is run, and
the AT&T StarGroup is indeed so brain damaged that it considers it a
sharing violations for two processes to read the same file unless it is
read only. amiga!cbmvax!feith1!john (John L. Wehle) reports the
following patch seems to work around the problem, but this fix is so
entirely silly that we can't bring ourselves to fold it into the
main source code.
*** src/ci.c.orig Mon Feb 17 17:02:06 1992
--- src/ci.c Tue Mar 10 18:06:20 1992
***************
*** 619,624 ****
--- 619,625 ----
newdelnum.string, targetdelta->num
);
newdelta.log = getlogmsg();
+ Izclose(&workptr);
switch (run((char*)0, diffilename,
DIFF DIFF_FLAGS,
newhead ? workdiffname : expfilename,
***************
*** 628,633 ****
--- 629,638 ----
case DIFF_FAILURE: case DIFF_SUCCESS: break;
default: faterror("diff failed");
}
+ if (!(workptr = Iopen(workfilename, FOPEN_R_WORK, &workstat))) {
+ eerror(workfilename);
+ continue;
+ }
if (newhead) {
Irewind(workptr);
putdftext(newdelnum.string,newdelta.log,workptr,frewrite,false);
John Steele <jsteele@netcom.com> reports:
I have a problem with the makefile (nmake.mk) when it tries to create
ci.exe:
nmake -f ms\nmake.mk OS=dos
link /nologo /ST:16384 logindos.obj spawnvpq.obj c:\c6\lib\setargv.obj @
ms\ci.rsp,ci,nul,nul
Object Modules [.OBJ]: /nologo /ST:16384 logindos.obj spawnvpq.obj c:\c6\lib\set
argv.obj ci rcslex rcssyn rcsgen rcsedit rcskeys rcsmap rcsrev rcsutil rcsfnms p
artime maketime rcskeep rcsfcmp
Definitions File [NUL.DEF]:
^^^^ it stops here, and I press enter...
LINK : fatal error L1102: unexpected end-of-file
NMAKE : fatal error U1077: 'link' : return code '2'
Stop.
Doesn't look like a valid link line to me (this does work under the 1.2 beta).
According to make, you can't mix response files with the rest...
Microsoft (R) Segmented-Executable Linker Version 5.10
Copyright (C) Microsoft Corp 1984-1990. All rights reserved.
Usage:
LINK
LINK @<response file>
LINK <objs>,<exefile>,<mapfile>,<libs>,<deffile>